package com.example.userprovider.service;

import com.example.userprovider.dao.UserMapper;
import com.jbf.service.CountService;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Service
@Component
public class CountServiceImpl implements CountService {
    @Autowired
    private UserMapper userMapper;

    @Override
    public int countUser() {
        return userMapper.countUser();
    }
}
